home *** CD-ROM | disk | FTP | other *** search
/ RSPB Wildlife Explorers Mammal Guide / Mammals Guide.iso / mac / bird_info.swf / scripts / frame_5 / DoAction.as
Text File  |  2008-07-31  |  18KB  |  415 lines

  1. function BirdInfo(tl)
  2. {
  3.    this.parent = _global.appTL.rspbBG;
  4.    this.contentTL = tl;
  5.    this.playerTL = _global.appTL;
  6.    this.contentTL.back_btn.section = "Back";
  7.    this.contentTL.back_btn.onRelease = function()
  8.    {
  9.       _global.appTL.rspbBG.nav.goBack();
  10.    };
  11.    this.lastBirdID = null;
  12.    this.birdID = this.parent.birdID;
  13.    this.parent.AddBird = undefined;
  14.    this.videoLoaded = false;
  15.    this.setUpPage();
  16.    this.mouseListener = new Object();
  17.    this.mouseListener.parent = this;
  18.    this.mouseListener.onMouseWheel = function(delta)
  19.    {
  20.       this.parent.contentTL.ref_sp.wheelScroll(delta);
  21.    };
  22.    Mouse.addListener(this.mouseListener);
  23. }
  24. BirdInfo.prototype.setUpPage = function()
  25. {
  26.    var _loc5_ = this.parent.guideXML.firstChild.childNodes[this.birdID];
  27.    this.contentTL.species_txt.text = _loc5_.childNodes[2].childNodes[0].nodeValue;
  28.    this.contentTL.family_txt.text = _loc5_.childNodes[5].childNodes[0].nodeValue;
  29.    this.contentTL.createEmptyMovieClip("scroller_mc",1);
  30.    this.contentTL.scroller_mc._x = 0;
  31.    this.contentTL.scroller_mc.attachMovie("scrollingMC","scrollingMC",1);
  32.    var _loc12_ = System.capabilities.os.charAt(0);
  33.    if(_loc12_ == "M")
  34.    {
  35.       this.contentTL.scroller_mc.scrollingMC.media_mc.pic_holder_mc.pic_mc.loadMovie(_global.mdmPath + "images:info:" + _loc5_.childNodes[0].attributes.IMG + ".jpg");
  36.    }
  37.    else
  38.    {
  39.       this.contentTL.scroller_mc.scrollingMC.media_mc.pic_holder_mc.pic_mc.loadMovie(_global.mdmPath + "images/info/" + _loc5_.childNodes[0].attributes.IMG + ".jpg");
  40.    }
  41.    if(_loc5_.childNodes[0].attributes.MAP.length > 1)
  42.    {
  43.       this.contentTL.scroller_mc.scrollingMC.media_mc.map_holder_mc._visible = false;
  44.       if(_loc12_ == "M")
  45.       {
  46.          this.contentTL.scroller_mc.scrollingMC.media_mc.map_holder_mc.map_mc.loadMovie(_global.mdmPath + "images:maps:" + _loc5_.childNodes[0].attributes.MAP + ".jpg");
  47.       }
  48.       else
  49.       {
  50.          this.contentTL.scroller_mc.scrollingMC.media_mc.map_holder_mc.map_mc.loadMovie(_global.mdmPath + "images/maps/" + _loc5_.childNodes[0].attributes.MAP + ".jpg");
  51.       }
  52.    }
  53.    if(_loc5_.childNodes[0].attributes.VIDEO.length > 1)
  54.    {
  55.       this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.linkID = this.birdID;
  56.       this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.obj = this;
  57.       this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.onRelease = function()
  58.       {
  59.          this.obj.playVideo(this.linkID);
  60.       };
  61.    }
  62.    else
  63.    {
  64.       this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn._visible = false;
  65.    }
  66.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.obj = this;
  67.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.onRelease = function()
  68.    {
  69.       this.obj.hideVideo();
  70.       this.obj.hideMap();
  71.       this.obj.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = false;
  72.       this.obj.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_selected");
  73.    };
  74.    if(_loc5_.childNodes[0].attributes.SOUND.length > 1)
  75.    {
  76.       this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.linkID = this.birdID;
  77.       this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.obj = this;
  78.       this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.onRelease = function()
  79.       {
  80.          this.obj.playSound(this.linkID);
  81.          this.obj.hideMap();
  82.       };
  83.    }
  84.    else
  85.    {
  86.       this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn._visible = false;
  87.    }
  88.    if(_loc5_.childNodes[0].attributes.MAP.length > 1)
  89.    {
  90.       this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.linkID = this.birdID;
  91.       this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.obj = this;
  92.       this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.onRelease = function()
  93.       {
  94.          this.obj.hideVideo();
  95.          this.obj.showMap();
  96.       };
  97.    }
  98.    else
  99.    {
  100.       this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn._visible = false;
  101.    }
  102.    this.contentTL.scroller_mc.scrollingMC.add_sighting.linkID = this.birdID;
  103.    this.contentTL.scroller_mc.scrollingMC.add_sighting.parent = this;
  104.    this.contentTL.scroller_mc.scrollingMC.add_sighting.onRelease = function()
  105.    {
  106.       this.parent.loadInfo(this.linkID);
  107.    };
  108.    this.contentTL.scroller_mc.scrollingMC.edit_sighting.linkID = this.birdID;
  109.    this.contentTL.scroller_mc.scrollingMC.edit_sighting.parent = this;
  110.    this.contentTL.scroller_mc.scrollingMC.edit_sighting.onRelease = function()
  111.    {
  112.       this.parent.EditInfo(this.linkID);
  113.    };
  114.    var myBirdSeen = false;
  115.    for(var _loc19_ in this.parent.mybirdsData.myBirdsListArray)
  116.    {
  117.       if(this.birdID == Number(this.parent.mybirdsData.myBirdsListArray[_loc19_][0]))
  118.       {
  119.          var _loc8_ = [];
  120.          _loc8_ = this.parent.mybirdsData.myBirdsListArray[_loc19_];
  121.          var myBirdSeen = true;
  122.          break;
  123.       }
  124.    }
  125.    if(myBirdSeen)
  126.    {
  127.       this.contentTL.scroller_mc.scrollingMC.add_sighting._visible = false;
  128.       this.contentTL.scroller_mc.scrollingMC.edit_sighting._visible = true;
  129.    }
  130.    else
  131.    {
  132.       this.contentTL.scroller_mc.scrollingMC.add_sighting._visible = true;
  133.       this.contentTL.scroller_mc.scrollingMC.edit_sighting._visible = false;
  134.    }
  135.    this.contentTL.scroller_mc.scrollingMC.mb_indicator_mc.obj = this;
  136.    this.contentTL.scroller_mc.scrollingMC.mb_indicator_mc.linkID = this.birdID;
  137.    this.contentTL.scroller_mc.scrollingMC.mb_indicator_mc.myBirdSeen = myBirdSeen;
  138.    this.contentTL.scroller_mc.scrollingMC.mb_indicator_mc.onRelease = function()
  139.    {
  140.       if(!this.myBirdSeen)
  141.       {
  142.          this.gotoAndStop(2);
  143.          var _loc2_ = new Sound(this);
  144.          _loc2_.attachSound("mybirds");
  145.          _loc2_.start();
  146.          this.obj.addToMyBirds(this.linkID);
  147.          this.myBirdSeen = true;
  148.       }
  149.       else
  150.       {
  151.          this.gotoAndStop(1);
  152.          this.obj.removeFromMyBirds(this.linkID);
  153.          this.myBirdSeen = false;
  154.       }
  155.    };
  156.    var _loc14_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("introduction","introduction",1);
  157.    _loc14_._txt.text = _loc5_.childNodes[4].childNodes[0].nodeValue;
  158.    _loc14_._txt.autoSize = true;
  159.    _loc14_._txt.multiline = true;
  160.    _loc14_._txt.wordWrap = true;
  161.    _loc14_._y = 15;
  162.    var _loc16_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("status","status",2);
  163.    var _loc25_ = _loc5_.childNodes[3].childNodes[0].nodeValue;
  164.    _loc16_._txt.text = _loc25_;
  165.    _loc16_._txt.autoSize = true;
  166.    _loc16_._txt.multiline = true;
  167.    _loc16_._txt.wordWrap = true;
  168.    _loc16_._y = _loc14_._y + _loc14_._height + 10;
  169.    var _loc13_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("idTips","idTips",3);
  170.    _loc13_._txt.text = _loc5_.childNodes[6].childNodes[0].nodeValue;
  171.    _loc13_._txt.autoSize = true;
  172.    _loc13_._txt.multiline = true;
  173.    _loc13_._txt.wordWrap = true;
  174.    _loc13_._y = _loc16_._y + _loc16_._height + 15;
  175.    var _loc15_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("whereAndWhen","whereAndWhen",4);
  176.    _loc15_._txt.text = _loc5_.childNodes[7].childNodes[0].nodeValue;
  177.    _loc15_._txt.autoSize = true;
  178.    _loc15_._txt.multiline = true;
  179.    _loc15_._txt.wordWrap = true;
  180.    _loc15_._y = _loc13_._y + _loc13_._height + 10;
  181.    var _loc11_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("whatItEats","whatItEats",5);
  182.    _loc11_._txt.text = _loc5_.childNodes[8].childNodes[0].nodeValue;
  183.    _loc11_._txt.autoSize = true;
  184.    _loc11_._txt.multiline = true;
  185.    _loc11_._txt.wordWrap = true;
  186.    _loc11_._y = _loc15_._y + _loc15_._height + 10;
  187.    var _loc22_ = _loc5_.childNodes[9].childNodes[0].childNodes[0].nodeValue;
  188.    var _loc17_ = _loc5_.childNodes[9].childNodes[1].childNodes.length;
  189.    var _loc21_ = _loc5_.childNodes[9].childNodes[1].childNodes[0].childNodes[0].nodeValue;
  190.    var _loc24_ = _loc5_.childNodes[9].childNodes[1].childNodes[0].childNodes[0].nodeValue;
  191.    var _loc26_ = false;
  192.    if(_loc17_ > 0 && _loc22_ == undefined)
  193.    {
  194.       _loc22_ = "See the list on the right.";
  195.    }
  196.    if(_loc21_ != undefined)
  197.    {
  198.       _loc26_ = true;
  199.       if(_loc17_ > 0 && _loc21_ != undefined && _loc24_ != undefined)
  200.       {
  201.          this.contentTL.scroller_mc.scrollingMC._txt.text = "Easily confused with (on this CD)";
  202.          var _loc3_ = 0;
  203.          while(_loc3_ < _loc17_)
  204.          {
  205.             var _loc4_ = this.contentTL.scroller_mc.scrollingMC.holder_mc.attachMovie("otherbirds","otherbirds" + _loc3_,_loc3_);
  206.             var linkID = _loc5_.childNodes[9].childNodes[1].childNodes[_loc3_].attributes.LINK_ID;
  207.             var _loc9_ = _loc5_.childNodes[9].childNodes[1].childNodes[_loc3_].childNodes[0].nodeValue;
  208.             _loc4_.parent = this;
  209.             _loc4_.link_txt.htmlText += "<u><a href=\'asfunction:parent.getPage, " + linkID + "\'>" + _loc9_ + "</a></u>";
  210.             var _loc7_ = this.parent.guideXML.firstChild.childNodes[linkID - 1].childNodes[0].attributes.IMG;
  211.             if(_loc12_ == "M")
  212.             {
  213.                _loc4_.pic_mc.loadMovie(_global.mdmPath + "images:thumb:" + _loc7_ + ".jpg");
  214.             }
  215.             else
  216.             {
  217.                _loc4_.pic_mc.loadMovie(_global.mdmPath + "images/thumb/" + _loc7_ + ".jpg");
  218.             }
  219.             _loc4_._y = 14 + 72 * _loc3_;
  220.             _loc3_ = _loc3_ + 1;
  221.          }
  222.       }
  223.    }
  224.    var _loc20_ = _loc5_.childNodes[10].childNodes[0].childNodes[0].nodeValue;
  225.    _loc17_ = _loc5_.childNodes[10].childNodes.length;
  226.    if(_loc20_ != undefined)
  227.    {
  228.       var _loc10_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("possibilities","possibilities",7);
  229.       if(_loc17_ > 0)
  230.       {
  231.          _loc10_._txt.text = "";
  232.          var _loc6_ = 0;
  233.          while(_loc6_ < _loc17_)
  234.          {
  235.             _loc10_._txt.text += _loc5_.childNodes[10].childNodes[_loc6_].childNodes[0].nodeValue + "\n";
  236.             _loc6_ = _loc6_ + 1;
  237.          }
  238.       }
  239.       else
  240.       {
  241.          _loc10_._txt.text = _loc20_;
  242.       }
  243.       _loc10_._txt.autoSize = true;
  244.       _loc10_._txt.multiline = true;
  245.       _loc10_._txt.wordWrap = true;
  246.       _loc10_._y = _loc11_._y + _loc11_._height + 10;
  247.    }
  248.    var _loc18_ = this.contentTL.scroller_mc.scrollingMC.attachMovie("didYouKnow","didYouKnow",8);
  249.    _loc18_._txt.text = _loc5_.childNodes[11].childNodes[0].nodeValue;
  250.    _loc18_._txt.autoSize = true;
  251.    _loc18_._txt.multiline = true;
  252.    _loc18_._txt.wordWrap = true;
  253.    if(_loc20_ != undefined)
  254.    {
  255.       _loc18_._y = _loc10_._y + _loc10_._height + 10;
  256.    }
  257.    else
  258.    {
  259.       _loc18_._y = _loc11_._y + _loc11_._height + 10;
  260.    }
  261.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.enabled = true;
  262.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.gotoAndStop("_up");
  263.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = false;
  264.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_selected");
  265.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.enabled = true;
  266.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.gotoAndStop("_up");
  267.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.enabled = true;
  268.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_up");
  269.    this.contentTL.ref_sp.setScrollContent(this.contentTL.scroller_mc);
  270.    this.contentTL.ref_sp.refreshPane();
  271. };
  272. BirdInfo.prototype.loadInfo = function(pageID)
  273. {
  274.    this.parent.nav.loadSection(5,pageID);
  275.    this.parent.AddBird = pageID;
  276. };
  277. BirdInfo.prototype.EditInfo = function(pageID)
  278. {
  279.    this.parent.nav.loadSection(5,pageID);
  280.    this.parent.EditBird = pageID;
  281. };
  282. BirdInfo.prototype.getPage = function(birdID)
  283. {
  284.    this.birdID = parseInt(birdID) - 1;
  285.    this.parent.nav.navUpdate(8,this.birdID);
  286.    this.setUpPage();
  287. };
  288. BirdInfo.prototype.addToMyBirds = function(linkID)
  289. {
  290.    this.parent.mybirdsData.addToMyBirds(linkID);
  291.    this.refreshMyBirds();
  292. };
  293. BirdInfo.prototype.removeFromMyBirds = function(linkID)
  294. {
  295.    this.parent.mybirdsData.removeFromMyBirds(linkID);
  296.    this.refreshMyBirds();
  297. };
  298. BirdInfo.prototype.refreshMyBirds = function()
  299. {
  300.    this.parent.appTL.BBTcontent_mc.quickRef.setUpPage();
  301. };
  302. Diary.prototype.addMammal = function(pageID)
  303. {
  304.    this.parent.nav.loadSection(5,Number(pageID - 1));
  305. };
  306. BirdInfo.prototype.playVideo = function(linkID)
  307. {
  308.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc._alpha = 100;
  309.    this.listenerObject = new Object();
  310.    this.listenerObject.parent = this;
  311.    this.listenerObject.complete = function(eventObject)
  312.    {
  313.       this.parent.showReplayVideo();
  314.    };
  315.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.addEventListener("complete",this.listenerObject);
  316.    this.videoLoaded = true;
  317.    var _loc3_ = System.capabilities.os.charAt(0);
  318.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.autoPlay = true;
  319.    if(_loc3_ == "M")
  320.    {
  321.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.load(mdm.Application.path + "videos:" + this.parent.guideXML.firstChild.childNodes[linkID].childNodes[0].attributes.VIDEO);
  322.    }
  323.    else
  324.    {
  325.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.load(_global.mdmPath + "videos/" + this.parent.guideXML.firstChild.childNodes[linkID].childNodes[0].attributes.VIDEO);
  326.    }
  327.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.play();
  328.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.enabled = false;
  329.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.gotoAndStop("_selected");
  330.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = true;
  331.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_up");
  332.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.enabled = true;
  333.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.gotoAndStop("_up");
  334.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.enabled = true;
  335.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_up");
  336. };
  337. BirdInfo.prototype.playSound = function(linkID)
  338. {
  339.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc._alpha = 0;
  340.    this.Soundlistener = new Object();
  341.    this.Soundlistener.parent = this;
  342.    this.Soundlistener.complete = function(eventObject)
  343.    {
  344.       this.parent.showReplaySound();
  345.    };
  346.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.addEventListener("complete",this.Soundlistener);
  347.    var _loc3_ = System.capabilities.os.charAt(0);
  348.    if(_loc3_ == "M")
  349.    {
  350.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.load(_global.mdmPath + "sounds:" + this.parent.guideXML.firstChild.childNodes[linkID].childNodes[0].attributes.SOUND);
  351.    }
  352.    else
  353.    {
  354.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.load(_global.mdmPath + "sounds/" + this.parent.guideXML.firstChild.childNodes[linkID].childNodes[0].attributes.SOUND);
  355.    }
  356.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.play();
  357.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.enabled = true;
  358.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.gotoAndStop("_up");
  359.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = true;
  360.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_up");
  361.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.enabled = false;
  362.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.gotoAndStop("_selected");
  363.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.enabled = true;
  364.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_up");
  365. };
  366. BirdInfo.prototype.showMap = function()
  367. {
  368.    this.contentTL.scroller_mc.scrollingMC.media_mc.pic_holder_mc._visible = false;
  369.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_holder_mc._visible = true;
  370.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.enabled = false;
  371.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_selected");
  372.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = true;
  373.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_up");
  374. };
  375. BirdInfo.prototype.hideMap = function()
  376. {
  377.    this.contentTL.scroller_mc.scrollingMC.media_mc.pic_holder_mc._visible = true;
  378.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_holder_mc._visible = false;
  379.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_up");
  380. };
  381. BirdInfo.prototype.hideVideo = function()
  382. {
  383.    if(this.videoLoaded)
  384.    {
  385.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc._alpha = 0;
  386.       this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.stop();
  387.    }
  388.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.enabled = true;
  389.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.gotoAndStop("_up");
  390.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.enabled = true;
  391.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.gotoAndStop("_up");
  392.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.enabled = true;
  393.    this.contentTL.scroller_mc.scrollingMC.media_mc.img_btn.gotoAndStop("_up");
  394.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.enabled = true;
  395.    this.contentTL.scroller_mc.scrollingMC.media_mc.map_btn.gotoAndStop("_up");
  396. };
  397. BirdInfo.prototype.showReplayVideo = function()
  398. {
  399.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.stop();
  400.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.enabled = true;
  401.    this.contentTL.scroller_mc.scrollingMC.media_mc.video_btn.gotoAndStop("_up");
  402. };
  403. BirdInfo.prototype.showReplaySound = function()
  404. {
  405.    this.contentTL.scroller_mc.scrollingMC.media_mc.tv_mc.vidPlayer_mc.stop();
  406.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.enabled = true;
  407.    this.contentTL.scroller_mc.scrollingMC.media_mc.sound_btn.gotoAndStop("_up");
  408. };
  409. ref_sp.drawFocus = "";
  410. ScrollPane.drawFocus = "";
  411. _global.styles.ScrollPane.setStyle("borderStyle","solid");
  412. _global.styles.ScrollPane.setStyle("borderColor","0xffffff");
  413. stop();
  414. var birdInfo = new BirdInfo(this);
  415.